
CC=gcc
CCFLAGS= -static -I/usr/src/linux-2.6.11.12-hmwk3/include/

all: test_prog testUWRR test_root_same test_root_diff

test_prog: test_prog.c 
	$(CC) $(CCFLAGS) -o test_prog -Wall test_prog.c 

testUWRR: testUWRR_final.c 
	$(CC) $(CCFLAGS) -o testUWRR_final -Wall testUWRR_final.c

test_root_same: test_prog_root_sameweights.c 
	$(CC) $(CCFLAGS) -o test_prog_same -Wall test_prog_root_sameweights.c

test_root_diff: test_prog_root_diffweights.c 
	$(CC) $(CCFLAGS) -o test_prog_diff -Wall test_prog_root_diffweights.c



clean: 
	rm -rf *.o test_prog testUWRR test_root_same test_root_diff